apply plugin: 'com.android.application'

android {
	compileSdk 34

    defaultConfig {
        applicationId       'AE.External'
        minSdkVersion       24 // for vulkan
		targetSdkVersion 	34

        ndk {
            abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
        }
        externalNativeBuild {
            cmake {
                arguments '-DANDROID_STL=c++_static',
						  '-DANDROID_ARM_NEON=ON',
                          '-DAE_ENABLE_EXTERNAL_TESTS=ON'
            }
        }
    }
    buildTypes {
        release {
            minifyEnabled = false
            proguardFiles getDefaultProguardFile('proguard-android.txt'),
                          'proguard-rules.pro'
        }
    }
    externalNativeBuild {
        cmake {
            version '3.26.4'
            path '../CMakeLists.txt'
        }
    }

    ndkVersion "26.3.11579264"
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
}
